package com.example.baseapp.service;

import com.example.baseapp.entity.User;

public interface UserService {
    User saveOrUpdateUser(User user);
    User login(String openid, String nickname, String avatar, Integer gender);
    User updateUser(Long userId, String nickname, String phone, String address);
    User getUserById(Long id);
    User getUserByOpenid(String openid);
} 